package ysq.xyg.web.service;


import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.web.model.po.WebTagType;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.web.model.vo.WebTagTypeVo;

import java.util.List;

/**
 * 网站模块-标签类型service接口
 *
 * @author shengQiang yu
 * @date 2019-6-7 20:44:17
 */
public interface WebTagTypeService extends BaseService<WebTagType> {
    /**
     * 分页查询
     *
     * @param webTagTypeVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-6-7 20:44:17
     */
    ReturnEntity page(WebTagTypeVo webTagTypeVo, int pageSize, int pageNum);
    /**
     * 修改
     *
     * @param webTagTypeVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-6-7 20:44:17
     */
    ReturnEntity addOrUpdate(WebTagTypeVo webTagTypeVo, SysUser currentUser);
    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-6-7 20:44:17
     */
    ReturnEntity delete(String id, SysUser currentUser);
    /**
     * 获取集合
     *
     * @param webTagTypeVo 对象
     * @return List<WebTagType> WebTagType集合
     * @author shengQiang yu
     * @date 2019-6-7 20:44:17
     */
    List<WebTagType> acceptList(WebTagTypeVo webTagTypeVo);
}
